public class HardDisk {

    int amount;

    void setAmount(int m) {
        /*
         * 将参数m的值赋值给speed
         */
        amount = m;

    }

    int getAmount() {
        /*
         * 返回amount的值
         */
        return amount;

    }

}